package com.heima.model.comment.dtos;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentRepayDto {
    private String commentId;
    private Date minDate;
    private Integer size;
    public void opop(){
        if(minDate==null){
            minDate=new Date();
        }
        if(size==null){
            size=10;
        }
    }
}
